package com.beehoo.dcportal.action;

import com.beehoo.dcportal.common.base.BaseAction;
import com.beehoo.dcportal.model.MenuBean;
import com.beehoo.dcportal.model.ThemeBean;
import java.util.Map;

public class IndexAction extends BaseAction
{
  private static final long serialVersionUID = 6157526179499236361L;
  private String index;

  public String getIndex()
  {
    return this.index;
  }

  public void setIndex(String index) {
    this.index = index;
  }

  public String execute() {
    ThemeBean themeBean = (ThemeBean)getSession().get("SESSION_STREET_THEME");
    this.index = themeBean.getThLayout();

    MenuBean idxMenu = new MenuBean();
    idxMenu.setMenuId("00");
    setCurrMenu(idxMenu);

    return "success";
  }
}